/*
 * Created by SharpDevelop.
 * User: Slon
 * Date: 03.02.2009
 * Time: 9:13
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System.Xml;

namespace IMSAT.OFTD.DOM
{
    /// <summary>
    /// Description of TextProperty.
    /// </summary>
    public class TextProperty : Property
    {
        #region Nested type: TextPropertyXmlReader

        public class TextPropertyXmlReader : Reader
        {
            protected override bool CheckReader(XmlReader rd, bool _prevRes, Node parentNode)
            {
                if (rd.LocalName == "etext")
                    return true;
                return false;
                return base.CheckReader(rd, _prevRes, parentNode);
            }

            protected override Node InitNode(XmlReader reader, Node initedNode)
            {
                if (initedNode == null)
                    initedNode = new TextProperty();
                return base.InitNode(reader, initedNode);
            }
        }

        #endregion
    }
}